/*
 * 
 * Copyright 2010 David H Pollack
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License. 
 * 
 * 
 */

package com.dhpollack.rotogss.data;

import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

/**
 * @author davidpl
 *
 */
@PersistenceCapable
public class YDraft {
	
	@PrimaryKey
	@Persistent
	private Key key;
	
	@Persistent
	private Key leagueKey;
	
	@Persistent
	private Key teamKey;
	
	@Persistent
	private Key playerKey;
	
	@Persistent
	private Integer round;
	
	@Persistent
	private Integer pick;

	public Key getKey() {
		return key;
	}

	public void setKey(Key key) {
		this.key = key;
	}

	public Key getLeagueKey() {
		return leagueKey;
	}

	public void setLeagueKey(Key leagueKey) {
		this.leagueKey = leagueKey;
	}

	public Key getTeamKey() {
		return teamKey;
	}

	public void setTeamKey(Key teamKey) {
		this.teamKey = teamKey;
	}

	public Key getPlayerKey() {
		return playerKey;
	}

	public void setPlayerKey(Key playerKey) {
		this.playerKey = playerKey;
	}

	public Integer getRound() {
		return round;
	}

	public void setRound(Integer round) {
		this.round = round;
	}

	public Integer getPick() {
		return pick;
	}

	public void setPick(Integer pick) {
		this.pick = pick;
	}
	
	

}
